//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.jtny.nytb.equipment.vo.importexcel;

import com.jtny.component.entity.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel("数据标签项")
public class DataLabelItem666VO extends BaseDTO implements Serializable {
    @ApiModelProperty("数据标签项名称")
    private String labelItemName;
    @ApiModelProperty("数据标签项值")
    private String labelItemValue;
    @ApiModelProperty("数据标签项全路径")
    private String itemPath;
    @ApiModelProperty("数据标签项是否可选  0:不可选  1:可选")
    private Integer isOptional;
    @ApiModelProperty("数据标签项排序码")
    private String sort;
    @ApiModelProperty("数据标签项父级id")
    private Long parentId;
    @ApiModelProperty("子节点")
    private List<DataLabelItem666VO> children = new ArrayList();

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof DataLabelItem666VO)) {
            return false;
        } else {
            DataLabelItem666VO other = (DataLabelItem666VO)o;
            if (!other.canEqual(this)) {
                return false;
            } else if (!super.equals(o)) {
                return false;
            } else {
                label97: {
                    Object this$isOptional = this.getIsOptional();
                    Object other$isOptional = other.getIsOptional();
                    if (this$isOptional == null) {
                        if (other$isOptional == null) {
                            break label97;
                        }
                    } else if (this$isOptional.equals(other$isOptional)) {
                        break label97;
                    }

                    return false;
                }

                Object this$parentId = this.getParentId();
                Object other$parentId = other.getParentId();
                if (this$parentId == null) {
                    if (other$parentId != null) {
                        return false;
                    }
                } else if (!this$parentId.equals(other$parentId)) {
                    return false;
                }

                Object this$labelItemName = this.getLabelItemName();
                Object other$labelItemName = other.getLabelItemName();
                if (this$labelItemName == null) {
                    if (other$labelItemName != null) {
                        return false;
                    }
                } else if (!this$labelItemName.equals(other$labelItemName)) {
                    return false;
                }

                label76: {
                    Object this$labelItemValue = this.getLabelItemValue();
                    Object other$labelItemValue = other.getLabelItemValue();
                    if (this$labelItemValue == null) {
                        if (other$labelItemValue == null) {
                            break label76;
                        }
                    } else if (this$labelItemValue.equals(other$labelItemValue)) {
                        break label76;
                    }

                    return false;
                }

                Object this$itemPath = this.getItemPath();
                Object other$itemPath = other.getItemPath();
                if (this$itemPath == null) {
                    if (other$itemPath != null) {
                        return false;
                    }
                } else if (!this$itemPath.equals(other$itemPath)) {
                    return false;
                }

                Object this$sort = this.getSort();
                Object other$sort = other.getSort();
                if (this$sort == null) {
                    if (other$sort != null) {
                        return false;
                    }
                } else if (!this$sort.equals(other$sort)) {
                    return false;
                }

                Object this$children = this.getChildren();
                Object other$children = other.getChildren();
                if (this$children == null) {
                    if (other$children != null) {
                        return false;
                    }
                } else if (!this$children.equals(other$children)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof DataLabelItem666VO;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = super.hashCode();
        Object $isOptional = this.getIsOptional();
        result = result * 59 + ($isOptional == null ? 43 : $isOptional.hashCode());
        Object $parentId = this.getParentId();
        result = result * 59 + ($parentId == null ? 43 : $parentId.hashCode());
        Object $labelItemName = this.getLabelItemName();
        result = result * 59 + ($labelItemName == null ? 43 : $labelItemName.hashCode());
        Object $labelItemValue = this.getLabelItemValue();
        result = result * 59 + ($labelItemValue == null ? 43 : $labelItemValue.hashCode());
        Object $itemPath = this.getItemPath();
        result = result * 59 + ($itemPath == null ? 43 : $itemPath.hashCode());
        Object $sort = this.getSort();
        result = result * 59 + ($sort == null ? 43 : $sort.hashCode());
        Object $children = this.getChildren();
        result = result * 59 + ($children == null ? 43 : $children.hashCode());
        return result;
    }

    public DataLabelItem666VO() {
    }

    public String getLabelItemName() {
        return this.labelItemName;
    }

    public String getLabelItemValue() {
        return this.labelItemValue;
    }

    public String getItemPath() {
        return this.itemPath;
    }

    public Integer getIsOptional() {
        return this.isOptional;
    }

    public String getSort() {
        return this.sort;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public List<DataLabelItem666VO> getChildren() {
        return this.children;
    }

    public void setLabelItemName(String labelItemName) {
        this.labelItemName = labelItemName;
    }

    public void setLabelItemValue(String labelItemValue) {
        this.labelItemValue = labelItemValue;
    }

    public void setItemPath(String itemPath) {
        this.itemPath = itemPath;
    }

    public void setIsOptional(Integer isOptional) {
        this.isOptional = isOptional;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public void setChildren(List<DataLabelItem666VO> children) {
        this.children = children;
    }

    public String toString() {
        return "DataLabelItemDTO(labelItemName=" + this.getLabelItemName() + ", labelItemValue=" + this.getLabelItemValue() + ", itemPath=" + this.getItemPath() + ", isOptional=" + this.getIsOptional() + ", sort=" + this.getSort() + ", parentId=" + this.getParentId() + ", children=" + this.getChildren() + ")";
    }
}
